// import {  ElMessageBox } from 'element-plus'

export const getSys = ()=> {
     let systemstatus=''
    let val = window.location.href
    // let value = val.split('/')
    // let url = new URLSearchParams(val)
    let url=  val.match('home')
    console.log(url,'7777',val);
    // console.log(url,'7700',url.get('home'));
    if (val.match('home')) {
        systemstatus = 'BQ'
    } else if(val.match('age')){
        systemstatus = 'QY'
    }else{
        systemstatus =''
    }
    return systemstatus

}